#ifndef CFOOTBALLPLAYER_H
#define CFOOTBALLPLAYER_H

#include "CPoint2D.h"
#include "RandomNumber.h"

class CFootballPlayer
{
public:
	static const int s_CONST_CHANCE_TO_PASS      = 90;
	static const int s_CONST_CHANCE_TO_INTERCEPT = 30;
	static const int s_CONST_CHANCE_TO_HIT_GOAL  = 20;
	static const int s_CONST_CHANCE_KEEP         = 75;

	CFootballPlayer(void);
	CFootballPlayer(int _PosX, int _PosY);
	~CFootballPlayer(void);

	CPoint2D GetPosition(void);

	// true:  try to pass
	// false: try to shot
	virtual bool Pass(void);
	
private:
	CPoint2D m_Position;
};

#endif // #CFOOTBALLPLAYER_H

